import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from './router'
import * as echarts from 'echarts'
import 'echarts-extension-amap';
// import Axios from 'axios'

Vue.use(ElementUI);

// Vue.prototype.$axios = Axios
//
// Axios.defaults.baseURL = '/api'

Vue.prototype.$echarts = echarts

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
